﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

using PortalIntranet.DatabaseComponents.Comun;

namespace PortalIntranet.DatabaseComponents.Administracao
{
	[Serializable]
	[Table("TiposLayouts")]
	public class TipoLayout : Entidade
	{
		public TipoLayout()
		{
			this.Portlets = new HashSet<Portlet>();
		}

		[Required, MaxLength(50)]
		public string Nome { get; set; }

		#region Navegação
		public virtual ICollection<Portlet> Portlets { get; set; }
		#endregion
	}
}
